import com.sun.xml.internal.fastinfoset.tools.XML_SAX_StAX_FI;

import java.util.Scanner;

public class C12 {
    public static void main(String[] args) {
        Scanner input=new Scanner(System.in);
        System.out.println("请输入张三成绩");
        int zs=input.nextInt();
        System.out.println("请输入李四成绩");
        int ls=input.nextInt();
        System.out.println("请输入王五成绩");
        int ww=input.nextInt();
        int max;
        max=zs>ls?zs:ls;
        max=zs>ww?zs:ww;
        max=ls>ww?ls:ww;
        System.out.println(max);
    }


}
